package com.hmall.search.pojo;

import lombok.Data;

import java.util.List;

@Data
public class PageResult {

    private Long total;
    private List<ItemDoc> hotels;

    PageResult() {}

    public PageResult(Long total, List<ItemDoc> hotels) {
        this.total = total;
        this.hotels = hotels;
    }
}
